package com.hand.pp.mapper;/**
 * @author Estelle@앙수청
 * @date 2019/7/16 19:29
 */

import com.hand.pp.domain.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  @author Estelle@앙수청
 *  @date 2019/7/16 19:29
 */
@Mapper
public interface RoleMapper {

    List<Role> queryAllRole();

    Long insertRole(Role role);

    void updateRole(Role role);

    void deleteRole(@Param("id")Long id);

}
